package com.jghz.framework.base;

import java.util.Map;

import org.springframework.jdbc.core.RowMapper;
import org.springframework.stereotype.Component;

import com.bstek.dorado.data.provider.Page;

@Component
public class JdbcDao extends com.bstek.bdf2.core.orm.jdbc.JdbcDao
{

	public void paginationQuery(String sql, Page<?> page)
	{
		this.pagingQuery(page, sql);
	}

	public void paginationQuery(String sql, Object params[], Page<?> page)
	{
		this.pagingQuery(page, sql, params);
	}

	public void paginationQuery(Page<?> page, String sql, Map<String, Object> parameters)
	{
		this.pagingQuery(page, sql, parameters);
	}

	public void paginationQuery(String sql, Page<?> page, RowMapper<?> mapper)
	{
		this.pagingQuery(page, sql, mapper);
	}

	public void paginationQuery(String sql, Object params[], Page<?> page, RowMapper<?> rowMapper)
	{
		this.pagingQuery(page, sql, params, rowMapper);
	}

}
